package com.gtenacg.cartoonservice.mapper;

import com.gtenacg.cartoonservice.pojo.model.RelationCartoonType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 86198
 * @description 针对表【relation_cartoon_type(漫画关系对应表)】的数据库操作Mapper
 * @createDate 2024-05-09 11:28:05
 * @Entity com.gtenacg.cartoonservice.pojo.model.RelationCartoonType
 */
@Mapper
//@CacheNamespace
public interface RelationCartoonTypeMapper {

    List<RelationCartoonType> list();

    List<RelationCartoonType> getByCids(List<Integer> cids);

    List<RelationCartoonType> getByTids(List<Integer> tids);

    void insert(RelationCartoonType relationCartoonType);

    void update(RelationCartoonType relationCartoonType);

    void delete(List<Integer> ids);

    List<RelationCartoonType> search(
            @Param("cid") Integer cid,
            @Param("ctid") Integer ctid
    );
}




